#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_threading.py
# author:Jackiex
# datetime:2023/5/29 10:29
# software: PyCharm

"""
this is function  description 
"""

import threading
import time


def func():
    while True:
        print("----func is runing----")
        # 打印当前激活的线程数
        print(threading.active_count())

        # 打印当前的线程
        print(threading.current_thread())
        time.sleep(1)


if __name__ == '__main__':
    func()
